import { request } from '../service'

export function dictPage (data) {
  return request({
    url: '/api/dict/page',
    method: 'post',
    params: data
  })
}
export function dictCreate (data) {
  return request({
    url: '/api/dict/create',
    method: 'post',
    params: data
  })
}
export function dictUpdate (data) {
  return request({
    url: '/api/dict/update',
    method: 'post',
    params: data
  })
}

export function dictList (data) {
  return request({
    url: '/api/dict/getDictList',
    method: 'get',
    params: data
  })
}
export function delDict (data) {
  return request({
    url: '/api/dict/delDict',
    method: 'post',
    params: data
  })
}
